<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8" />
    <title>plantUML api文档导入</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta
            name="viewport"
            content="width=device-width, initial-scale=1, maximum-scale=1"
    />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <!--<link rel="stylesheet" href="amis/sdk.css" />-->
    <link rel="stylesheet" href="https://houtai.baidu.com/v2/csssdk"/>
    <style>
      html,
      body,
      .app-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
      }
    </style>
</head>
<body>
<div id="root" class="app-wrapper"></div>
<!--<script src="amis/sdk.js"></script>-->
<script src="https://houtai.baidu.com/v2/jssdk"></script>
<script type="text/javascript">
      (function () {
        let amis = amisRequire('amis/embed');
        let amisScoped = amis.embed('#root', {
  "title": "表单向导",
  "body": [
    {
      "type": "wizard",
      "api": "/amis/api/mock2/form/saveForm?waitSeconds=2",
      "steps": [
        {
          "title": "第一步",
          "body": [
            {
              "name": "website",
              "label": "网址",
              "type": "input-url",
              "required": true
            },
            {
              "name": "name",
              "label": "名称",
              "type": "input-text",
              "required": true
            }
          ]
        },
        {
          "title": "Step 2",
          "body": [
          {
             "type": "form",
             "api": "/apidoc/upload",
             "body": [
              {
                "type": "input-file",
                "name": "file",
                "label": "File",
                "accept": "*",
                "receiver": "/apidoc/upload"
             }
            ]
            }
          ]
        },
        {
          "title": "Step 3",
          "body": [
            "这是最后一步了"
          ]
        }
      ]
   }
  ]
})
})();
    </script>
</body>
</html>